package com.biz;

import com.entity.Userinfo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface IUserInfoBiz {

    //登录
    public Userinfo log(String uname,String pwd);

    //列表
    public List getAll();
    //增加
    public void addUser(Userinfo userinfo);
    //修改
    public void modUser(Userinfo userinfo);
    //删除
    public void delUser(int id);
    //获取一个
    public Userinfo selectById(int id);
}
